package com.xmg.design23.d22_mediator;

/**
 * 抽象同事类
 * @Author: mazhongqing
 * @Date: 2021/3/25 15:03
 */
public abstract class Colleague {
    protected Mediator mediator;
    public void setMediator(Mediator mediator){
        this.mediator = mediator;
    }

    public abstract void receive();

    public abstract void send();
}
